#!/bin/sh

where="$(dirname "$0")"
if [ "$1" = "2" -o "$1" = "-2" -o "$1" = "--2" ]; then
	PYTHON=python2
else
	PYTHON=python3
fi
export PYTHONPATH="$where/..:$PYTHONPATH"
exec $PYTHON "$where/bf-runner.py"
